
  {loop} 
        <li>
            <div class="pic"><a href="{$r['link']}" target="_blank"><img src="{$r['pic']}" /></a></div>
        </li>
  {/loop}
                                                                                                                                                                                                                                                                                                                                                                                                                                                 